package com.kongyz;

import com.kongyz.computer.Computer;
import com.kongyz.computer.ComputerPart;
import com.kongyz.visitor.ComputerPartDisplayVisitor;

/**
 * @author kongyz
 * @date 2018/7/11 21:08
 * @Description:
 */
public class Demo {
    public static void main(String[] args) {
        ComputerPart computer=new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
